package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Personal;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface PersonalMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Personal record);

    Personal selectByPrimaryKey(Long id);

    List<Personal> selectAll();

    int updateByPrimaryKey(Personal record);

    List<Personal> selectForList(QueryObject qo);

    Personal selectByMaxDate(Long id);
}